package com.itcast.mallweb.service;

import com.itcast.admin.dto.RiderDTO;
import com.itcast.admin.entity.Rider;

import java.util.List;

public interface RiderService {

    //新增骑手
    void addRider(RiderDTO rdiderDTO);

    //查询单个骑手
    Rider getById(Long id);

    //查询全部骑手
    List<Rider> getRider();

    //批量删除骑手
    void deteleRider(List<Long> ids);

    //骑手分配订单
    void addAllocation(com.itcast.applet.dto.RiderDTO riderDTO);
}
